'''
用户个人信息接口
'''
import config
import requests


class UserProfileApi(object):
    def __init__(self):
        self.user_profile_url = config.BASE_URL + config.USER_PROFILE_URL

    def post_user_profile_url(self):

        return requests.post(self.user_profile_url, headers=config.HEADERS)


if __name__ == '__main__':
    response = UserProfileApi().post_user_profile_url()
    print(response.content.decode())
